import React from 'react';
import style from './Login.module.scss';
import LoginForm from './loginForm';
import { NavLink } from 'react-router-dom';

class Login extends React.Component {
  constructor(props) {
    super(props)
  }

  render() {
    return (
      <div className={style.container}>
        <div className={style.mainCont}>
          <div className={style.cont}>
            <h3>用户登录</h3>
            <LoginForm></LoginForm>
            <NavLink to="/regist" className={style.regist_tips}>立即注册</NavLink>
          </div>
        </div>
      </div>
    )
  }
}


export default Login;